#ifndef CAMPAIGNMODELLINGFORM_H
#define CAMPAIGNMODELLINGFORM_H



#include "AbstractModellingForm.h"



#include <ItemModel.h>



#include <QWidget>



class QAbstractProxyModel;



namespace Ui {
    class CampaignModellingForm;
}



class CampaignModellingForm : public QWidget, public AbstractModellingForm
{
    Q_OBJECT

public:

    CampaignModellingForm(QWidget *parent = 0);
    CampaignModellingForm(ItemModel* model, QWidget *parent = 0);
    ~CampaignModellingForm();

    virtual void setModel(ItemModel *model);


public slots:

    virtual void onAction(const int& action);


private:

    void initialize();

    Ui::CampaignModellingForm *ui;


private slots:

    void on_treeViewFeats_activated(QModelIndex index);
    void on_treeViewFeats_clicked(QModelIndex index);
    void on_treeViewSkills_activated(QModelIndex index);
    void on_treeViewSkills_clicked(QModelIndex index);
    void on_pushButtonName_clicked();

};



#endif // CAMPAIGNMODELLINGFORM_H
